package com.imooc.annotation_demo.filters;

import com.imooc.annotation_demo.annotations.Column;
import com.imooc.annotation_demo.annotations.Table;

@Table("t_department")
public class DepartmentFilter {
    @Column("id")
    private Long id;

    @Column("name")
    private String name;

    @Column("leader_id")
    private Long leaderId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(Long leaderId) {
        this.leaderId = leaderId;
    }
}
